package com.cwj.common.test.service;

import com.cwj.common.domain.test;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;

@Service
public class testService implements testIntFace{
    @Resource
    private com.cwj.common.test.dao.testDao testDao;
//    @Transactional
   // @Order(1)
    @Override
    public Boolean t1(){
        test test = new test();
        test.setUsername("张三"+new Date().toGMTString());
        testDao.insert(test);
        return true;
    }
}
